{% extends "base.html" %}


{% block headtitle %}Trip Sign Up{% endblock %}
{% block pagetitle %}Trip Sign Up{% endblock %}

{% block content %}

<p>
Welcome to the Nisei Ski Club Online Sign Up form for weekend ski trips.
</p>

<p>
This form only allows you to sign up one person at a time for a trip. Steps to sign up for a trip:
</p>
<ol>
  <li>Select the trip or trips you would like to attend.</li>
  <li>Fill out the the sign up form.</li>
  <li>Pay by check, credit card, or PayPal.</li>
  <li>Print out and sign the waiver. Bring it with you on the trip or mail it in.</li>
</ol>

<h2>
Step 1. Please choose the trips you would like to attend:
</h2>

<form action="" method="POST">
<table class="triplist">
{% for trip in trips %}
  <tr class="{% if trip.trip_number|divisibleby:2 %}even{% else %}odd{% endif %}">
      <td><input type="checkbox" value="true" name="{{ trip.key.id  }}"></td>
      <td>Trip #{{ trip.trip_number }}</td>
      <td>{{ trip.description }}</td>
      <td>{{ trip.start_date }}</td>
      <td>{{ trip.end_date }}</td>
      <td>{% if trip.is_member_only %}<b>member price</b>{% endif %}</td>
      <td>$ {{ trip.price|floatformat:2 }}</td>
  </tr>
{% endfor %}
</table>

<input type="checkbox" value="true" name="member_discount">NSC Member Discount $20 (once per member per ski season)
<br/>
<input type="submit" value="Continue">
</form>

{% endblock %}
